package com.hqully.labmanage.domain.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

import lombok.Data;

/**
 * [DeviceFault]实体类
 *
 * @author hqully
 * @date 2022-10-08 10:05:23
 */
@ApiModel(description = "设备故障类型表")
@Data
public class DeviceFault implements Serializable {

    private static final long serialVersionUID = -10483782634909722L;
    
    /**
     * 故障id
     */
    @ApiModelProperty("故障id")
    @NotNull(message = "故障id不能为空")
    private Long id;
    
    /**
     * 故障类型
     */
    @ApiModelProperty("故障类型")
    @NotNull(message = "故障类型不能为空")
    private String name;
    

}

